package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hzeport.bgs22emduty.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("EMDU_SCREEN_CHECK_DETAIL")
@ApiModel(value = "大屏-值班抽查详情表")
public class ScreenCheckDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "问题标题")
    @TableField(value = "QUESTION_TITLE")
    @JsonProperty(value = "questionTitle")
    private String questionTitle;

    @ApiModelProperty(value = "抽查情况")
    @TableField(value = "RESULT_VALUE")
    @JsonProperty(value = "resultValue")
    private String resultValue;

    @ApiModelProperty(value = "题目ID，关联 大屏-抽查细分问题表 SCREEN_CHECK_TOPIC 主键ID")
    @TableField(value = "TOPIC_ID")
    @JsonProperty(value = "topicId")
    private String topicId;

    @ApiModelProperty(value = "抽查ID，关联 大屏-值班抽查表 SCREEN_CHECK 主键ID")
    @TableField(value = "CHECK_ID")
    @JsonProperty(value = "checkId")
    private String checkId;

    @ApiModelProperty(value = "排序")
    @TableField(value = "SORT")
    @JsonProperty(value = "sort")
    private Integer sort;
}
